package lanqiao.dontaiguihua;

import java.util.Scanner;

public class Lan4608 {//小蓝的奇妙冒险
    public static boolean cou=false;
    public static int n,c,k;
    public static void main(String[] args) {
        Scanner scan=new Scanner(System.in);
         n=scan.nextInt();//房间数量
         c=scan.nextInt();//打开黄金城要的金币数量
         k=scan.nextInt();//打开黄金城的天数上限
         int[] arr=new int[n];//每个房间的金币数
        for(int i=0;i<n;i++){
            arr[i]=scan.nextInt();
        }
        int[] arrs=new int[n-1];//到下一个房间所需的金币数
        for(int i=0;i<n-1;i++){
            arrs[i]=scan.nextInt();
        }
        action(arr,arrs,0,0,0);
        if(cou==true){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
        scan.close();
    }

    public static void action(int[] a,int[] b,int gold,int time,int i){
        if(time<=k&&!cou){
            if(gold>=c){
                cou=true;
            }else{
                action(a,b,gold+a[i],time+1,i);
                if(gold>=b[i]&&i<n-1)
                {
                    action(a,b,gold-b[i],time+1,i+1);
                }
            }
        }
    }
}
